<%
layout("tabbar.html", {index: 2}){
%>
<div class="page__hd">
    <h1 class="page__title">${user.nickname}</h1>
    <p class="page__desc">${user.phone}</p>
</div>
<div class="page__bd">
    <div class="weui-cells">
        <a class="weui-cell weui-cell_access oilCardItem" href="${ctxPath}/recharge">
            <div class="weui-cell__bd">
                资金充值
            </div>
            <div class="weui-cell__ft"> >= ${parseLong(money / 100)}元</div>
        </a>
        <a class="weui-cell weui-cell_access oilCardItem" href="${ctxPath}/moneyRecords">
            <div class="weui-cell__bd">
               资金记录
            </div>
            <div class="weui-cell__ft"></div>
        </a>
        <div class="weui-cell">
            <div class="weui-cell__bd">
                <p>总金额</p>
            </div>
            <div class="weui-cell__ft">${parseLong(asset.money / 100)}元</div>
        </div>
        <div class="weui-cell">
            <div class="weui-cell__bd">
                <p>可用金额</p>
            </div>
            <div class="weui-cell__ft">${parseLong(asset.ableMoney / 100)}元</div>
        </div>
        <div class="weui-cell">
            <div class="weui-cell__bd">
                <p>每日赠送金额</p>
            </div>
            <div class="weui-cell__ft">${parseLong(asset.cashback / 100)}元</div>
        </div>
        <div class="weui-cell">
            <div class="weui-cell__bd">
                <p>最低消费金额</p>
            </div>
            <div class="weui-cell__ft">${parseLong(asset.minMoney / 100)}元</div>
        </div>
        <div class="weui-cell">
            <div class="weui-cell__bd">
                <p>最低赠送金额</p>
            </div>
            <div class="weui-cell__ft">${parseLong(asset.minCashback / 100)}元</div>
        </div>
        <a class="weui-cell weui-cell_access oilCardItem" href="${ctxPath}/password">
            <div class="weui-cell__bd">
                密码修改
            </div>
            <div class="weui-cell__ft"></div>
        </a>
    </div>
    <a href="${ctxPath}/logout" class="weui-btn weui-btn_warn" style="margin: 50px 10px 10px 10px;">退出登陆</a>
</div>
<% } %>